<div class="room_select">
    <div class="area" style="width: 220px;">
        <div class="label">组织列表</div>
        <div yk-tree
             yk-tree-data="orgList"
             yk-tree-config="orgTreeConfig"></div>
    </div>
    <div class="buildings" style="width: 530px;">
        <div class="clearfix">
            <div class="label">用户列表</div>
            <div class="fr">
                <input type="text" class="input-text fl mr5 w200"
                       placeholder="用户姓名"
                       ng-model="keyword"
                       ng-change="localSearch()">
                <span class="mr5 fl">
                    <a class="btn" ng-click="localSearch()">搜索</a>
                </span>
            </div>
        </div>
        <ul>
            <li ng-repeat="user in userList"
                ng-hide="user.hidden"
                ng-class="{active: user.checked}"
                ng-click="toggleSelect( user )">
                <a>{{ user.UserName }}</a>
            </li>
        </ul>
    </div>
    <div class="building_selected_area">
        <div class="label">已选:</div>
        <ul class="building_selected">
            <li ng-repeat="user in selected.data">
                <span>{{ user.UserName }}</span>
                <a class="active" ng-click="toggleSelect( user )">×</a>
            </li>
        </ul>
    </div>
</div>